/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package serverimplementation;

import java.util.ArrayList;

/**
 *
 * @author manish
 */
public class User {
    private String firstName;
    private String lastName;
    private String UserId;
    private String email;
    private String gender;
    private String month;
    private String date;
    private String year;
    private String zip;
    private String password;
    private String phone;
    private String country;
    private String securityQ;
    private String securityA;
    private String ftl;
    private String displayMsg;
    private String displayName;
    
    private Boolean status=false;
    private ArrayList<String> list = new ArrayList();

    public void addBuddy(String UserId){
        list.add(UserId);
    }
    public Boolean checkBuddy(String BuddyId){
        if(list.contains(BuddyId)){
            return true;
        }
        else{
            return false;
        }
    }
    public ArrayList getBuddyList(){
        //System.out.println(list);
        return list;
    }
    public void removeBuddy(String UserId){
        list.remove(UserId);
    }
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getUserId() {
        return UserId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setUserId(String UserId) {
        this.UserId = UserId;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getSecurityQ() {
        return securityQ;
    }

    public void setSecurityQ(String securityQ) {
        this.securityQ = securityQ;
    }

    public String getSecurityA() {
        return securityA;
    }

    public void setSecurityA(String securityA) {
        this.securityA = securityA;
    }
    

}
